<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class ExpertFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name'=>$this->faker->name,
            'sex'=>$this->faker->randomElement(['男', '女']),
            'position'=>$this->faker->text(50),
            'department'=>$this->faker->text(50),
            'hospital'=>$this->faker->text(50),
            'introduction'=>$this->faker->text(50),
            'degree'=>$this->faker->text(50),
            'created_at'=>$this->faker->dateTime,
        ];
    }
}
